package miiteen.twoexploit.beans;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import miiteen.common.json.jackson.LongSerialize;
import miiteen.common.utils.FieldMeta;
import miiteen.sys.base.bean.BasePo;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * Name: lzhg_two_answering
 * Des: -Bean
 * Author: qyp
 * Date: 2021-10-22
 * 留言
 */
public class Answering extends BasePo {

    @FieldMeta(name = "")
    private long id;




    @FieldMeta(name = "内容")
    private String textContent;


    @FieldMeta(name = "角色id")
    private long characterId;



    @FieldMeta(name = "角色name")
    private String CharacterName;



    @FieldMeta(name = "模块id")
    private long lzhid;

    @FieldMeta(name = "模块类型   1：兰州海关作业指导书   2：兰州海关规章制度")
    private int typecode;


    @FieldMeta(name = "模块name")
    private String typeName;




    @FieldMeta(name = "回复内容 ")
    private String messageContent;

    @FieldMeta(name = "回复时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date messageDate;


    @FieldMeta(name = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;


    @FieldMeta(name = "创建人id")
    private long createId;


    @FieldMeta(name = "修改时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateDate;


    @FieldMeta(name = "修改人id")
    private long updateId;


    @FieldMeta(name = "删除状态")
    private int delState;


    @FieldMeta(name = "标题")
    private String title;





    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @JsonSerialize(using = LongSerialize.class)
    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }


    public String getTextContent() {
        return textContent;
    }

    public void setTextContent(String textContent) {
        this.textContent = textContent;
    }

    public long getCharacterId() {
        return characterId;
    }

    public void setCharacterId(long characterId) {
        this.characterId = characterId;
    }

    @JsonSerialize(using = LongSerialize.class)


    public String getCharacterName() {
        return CharacterName;
    }

    public void setCharacterName(String characterName) {
        CharacterName = characterName;
    }
    @JsonSerialize(using = LongSerialize.class)
    public long getLzhid() {
        return lzhid;
    }

    public void setLzhid(long lzhid) {
        this.lzhid = lzhid;
    }

    public int getTypecode() {
        return typecode;
    }

    public void setTypecode(int typecode) {
        this.typecode = typecode;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getMessageContent() {
        return messageContent;
    }

    public void setMessageContent(String messageContent) {
        this.messageContent = messageContent;
    }
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    public Date getMessageDate() {
        return messageDate;
    }

    public void setMessageDate(Date messageDate) {
        this.messageDate = messageDate;
    }

    public int getDelState() {
        return delState;
    }

    public void setDelState(int delState) {
        this.delState = delState;
    }

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
    @JsonSerialize(using = LongSerialize.class)
    public long getCreateId() {
        return createId;
    }

    public void setCreateId(long createId) {
        this.createId = createId;
    }
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }
    @JsonSerialize(using = LongSerialize.class)
    public long getUpdateId() {
        return updateId;
    }

    public void setUpdateId(long updateId) {
        this.updateId = updateId;
    }
}
